<%-- 
    Document   : index
    Created on : Jun 3, 2013, 11:15:51 AM
    Author     : amaster
--%>

<%@page import="java.util.StringTokenizer"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%! String myName = "Nguyen Van A";%>
        <%= myName.toUpperCase() %>
        
        <%
            StringTokenizer tokens = new StringTokenizer(myName," ");
            while(tokens.hasMoreElements()){
                out.println("<br/>" + tokens.nextElement());
            }
        %>
    </body>
</html>
